home
***
CD-ROM
|
disk
|
FTP
|
other
***
search
/
TeX 1995 July
/
TeX CD-ROM July 1995 (Disc 1)(Walnut Creek)(1995).ISO
/
tex-k
/
tex-k-archive.past
/
1994.11.gz
/
1994.11
/
000041_Harry.Clarke@jet.uk_Fri Nov 4 13:31:06 1994.msg
< prev
next >
Wrap
Internet Message Format
|
1994-11-30
|
2KB
Received: from relay1.pipex.net by cs.umb.edu with SMTP id AA06634
(5.65c/IDA-1.4.4 for <tex-k@cs.umb.edu>); Fri, 4 Nov 1994 21:10:06 -0500
Received: from eros.Britain.EU.net by relay1.pipex.net with SMTP (PP)
id <18724-3@relay1.pipex.net>; Fri, 4 Nov 1994 20:13:43 +0000
Received: from mailhost by eros.britain.eu.net with UUCP
id <sg.09549-0@eros.britain.eu.net>; Fri, 4 Nov 1994 14:29:19 +0000
Received: from YD.jet.uk by mailhost.jet.uk (4.1/SMI-4.1) id AA08241;
Fri, 4 Nov 94 13:31:06 GMT
Date: Fri, 4 Nov 94 13:31:06 GMT
From: Harry.Clarke@jet.uk
Message-Id: <9411041331.AA08241@mailhost.jet.uk>
To: tex-k <tex-k@cs.umb.edu>
Subject: Problem compiling xdvik-18d
I had problems compiling xdvik-18d under Linux, which I managed to resolve.
1) I had to add the line
#include <linux/limits.h>
to the file kpathsea/c-limits.h, I didn't dig too deeply into why the
file was not included when limits.h was included. Maybe a problem
with my setup.
2) I had to add the lines
#include <config.h>
#include <kpathsea/c-pathmx>
to the file xdvik/sfSelfFile.c. This is to ensure that PATH-MAX
was defined correctly
3) I changed CFLAGS in the top Makefile to be
CFLAGS = -ansi -DNO_FOIL_X_WCHAR_T -O
gcc seems to want to ansi flag set for the wchar problem, and it also
solves the alloca definition problem. The -O flag is probably better
than the -g flag for normal running of the program.
When I ran the program (after installation)
If I enter
xdvi
and then a dvi file selected, the program the crashes as soon as
the OK button is clicked.
X Error of failed request: BadWindow (invalid Window parameter)
Major opcode of failed request: 18 (X_ChangeProperty)
Resource id in failed request: 0x0
Serial number of failed request: 569
Current serial number in output stream: 571
However, if I enter the line
xdvi file.dvi
The program displays the file. I can then select another file without
error.
My installation is -
Operating System: Linux version 1.0.8
Compiler: gcc version 2.5.8
C Library: libc version 4.5.24
Windows: X11R6 (XFree-3.1)
Regards
Harry Clarke